@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/FiraSans-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 400;
  src: url('./fonts/FiraSans-Italic.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/FiraSans-Light.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: italic;
  font-weight: 300;
  src: url('./fonts/FiraSans-LightItalic.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Sans';
  font-style: bold;
  font-weight: 700;
  src: url('./fonts/FiraSans-Bold.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Mono';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/FiraMono-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

@font-face {
  font-family: 'Fira Mono';
  font-style: bold;
  font-weight: 700;
  src: url('./fonts/FiraMono-Bold.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}

::selection {
  background: #5DE2F9;
  color: #FAFCFC;
}

img::selection {
  background: transparent;
}

html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  -webkit-tap-highlight-color: rgb(205,49,114);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Fira Sans, Arial, sans-serif !important;
  font-size: 12px;
  font-weight: 400;
  color: #d1d1d1;
}

button {
  font-family: Fira Sans, Arial, sans-serif !important;
}

iframe {
  outline: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.fade-in {
  opacity: 0.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.fade-out {
  opacity: 1.0;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.frame {
  -webkit-user-select: none;
  -webkit-app-region: drag;
}

button {
  -webkit-app-region: no-drag;
  cursor: pointer;
  text-transform: uppercase;
}

.Popover-tip {
  display: none;
}

.Popover {
  transform : translateY(0) !important;
  z-index: 10;
  transition-duration: 0;
  transition-property: transform !important;
  .Popover-tip{
    transition: -webkit-transform 0 ease-in !important;
  }
}

.Popover-body {
  position: absolute;
  left: -12px;
  top: -28px;
}

/* Basic form resets */
input,
label,
select,
button,
textarea {
	margin:0;
	border:0;
	padding:0;
	display:inline-block;
	vertical-align:middle;
	white-space:normal;
	background:none;
	line-height:1;
	font-size:13px;
}

input:focus, button:focus {
	outline:0;
}

input[type='radio']:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #C0CCCD;
  content: '';
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

input[type='radio']:checked:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: rgb(205, 49, 114);
  content: '';
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

.popover-input::-webkit-input-placeholder {
  color: rgb(242, 148, 29);
}

.popover-input:focus::-webkit-input-placeholder {
  color: transparent;
}

.normal-input::-webkit-input-placeholder {
  color: rgba(254,254,254,.37) !important;
}

.layout-box {
  position: relative;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* TODO: hook up this rotation for library asset chevrons later
.collapse-chevy {
  margin-right: 4px;
  transform: rotate(-90deg);
  transition: transform 125ms ease-out;
  position: absolute;
  width: 9px;
  height: 9px;
  left: 0;
}

.collapse-chevy.open {
  transform: rotate(0);
}
*/

.toast {
  transform: translateY(0);
}

.toast-enter {
  opacity: .1;
  transform: translateY(-400px);
}

.toast-enter.toast-enter-active {
  opacity: 1;
  top: 14px;
  transform: translateY(0);
  transition: transform 400ms cubic-bezier(.08,.53,.39,1.03), opacity 220ms linear;
}

.toast-leave {
  opacity: 1;
}

.toast-leave.toast-leave-active {
  opacity: 0.01;
  transform: translateY(-400px);
  transition: all 250ms ease-in;
}

/* Glass Control Handle Cursors */

.control-point-hit-area {
  cursor: none;
}

/* End Glass Control Handle Cursors */
.file-drop {
  position: absolute;
  min-height: 300px;
  height: 100%;
  width: 100%;
}

.file-drop > .file-drop-target {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  opacity: 0;
  font-size: 30px;
  background-color: rgba(205,49,114, .16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-content: center;
  text-align: center;
  transform: scale(1.3);
  transition: transform 223ms ease-out;
}

.file-drop > .file-drop-target.file-drop-dragging-over-frame {
  border: none;
  box-shadow: none;
  z-index: 50;
  opacity: 1.0;
  color: white;

}

.file-drop > .file-drop-target.file-drop-dragging-over-target {
  background-color: rgba(205,49,114, .28);
  transform: scale(1.1);
}

.Absolute-Center {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

.no-select {
  -webkit-user-select: none !important;
}

.draw-shape * {
  cursor: crosshair !important;
}

.draw-text * {
  cursor: text !important;
}

/* Disable mouse click targeting locked elements */
[haiku-locked="true"] {
  pointer-events: none;
}
